<app-header title="我的节点列表"></app-header>

<ion-content>
  <div class="deal_list w96">
    <ul>
      <li *ngFor="let item of list" class="pool_bg">
        <div class="d-left">
          <h3><img src="assets/img/po8.png" alt="">{{item.nodeName}} 
            <i *ngIf="item.status == 0">（排队中）</i>
            <i *ngIf="item.status == 1">（挖票中）</i>
          </h3>
          <p>
            <span>地址：{{item.address}}</span>
          </p>
        </div>
        <div class="d-right">
          <p>今日产票：{{item.todayCoin}}</p>
          <!-- <span><i>复制</i></span> -->
        </div>
      </li>
    </ul>

    <div class="none" *ngIf="list.length == 0">暂无数据</div>
  </div>

  <ion-infinite-scroll threshold="10px" (ionInfinite)="loadData($event)" style="margin-top:2rem;">
    <ion-infinite-scroll-content
      loadingSpinner="bubbles"
      loadingText="Loading...">
    </ion-infinite-scroll-content>
  </ion-infinite-scroll>

  <!-- <p class="overdata" *ngIf="flag">没有数据啦！</p> -->
  
</ion-content>
